package org.spring.springboot.app.set.agenttype.domain.po;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.spring.springboot.app.base.BaseEntity;

import java.io.Serializable;
import java.util.Date;

public class AgentTypePO extends BaseEntity implements Serializable {

    private String name;

    private String descr;

    private Integer sort;

    private String roleId;

    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
    private Date createDate;

    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
    private Date updateDate;


    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getDescr() {
        return descr;
    }

    public void setDescr(String descr) {
        this.descr = descr == null ? null : descr.trim();
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public String getRoleId() {
        return roleId;
    }

    public void setRoleId(String roleId) {
        this.roleId = roleId;
    }
}
